package zoo;

public abstract class Animal {
	public String name;
	public int legNum;

	public Animal() {
		
	}
	public Animal(String name){
		this.name=name;
	}

	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLegNum() {
		return legNum;
	}

	public void setLegNum(int legNum) {
		this.legNum = legNum;
	}

	public abstract String shout();
}
